package com.kajespero.service.commons;

import com.kajespero.dao.commons.ReadWriteDAO;
import com.kajespero.domain.commons.ReadWriteDomain;
import com.kajespero.vo.IdentifierVO;

public interface ReadWriteService<Dom extends ReadWriteDomain<D,T , I>, D extends ReadWriteDAO<T, I>,T extends IdentifierVO<I>, I extends Comparable<I>> extends ReadService<Dom, D, T, I> {

	public void saveOrUpdate(T instance);
	
	public void delete(T instance);
	
	public void delete(I identifier);
	
	public T createNewBean();
	
}
